/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wanhai.itm.util;

import com.wanhai.zkbase.dao.IBaseDAO;
import com.wanhai.zkbase.util.SelectItem;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author m2434
 */
public class LoadOption {
    private IBaseDAO dao;
    
    public LoadOption(IBaseDAO dao){
        this.dao = dao;
    }
    
    public List<SelectItem> getDayOfWeek(){
        List tempList = new ArrayList();
        
        tempList.add(new SelectItem("1","Sunday"));
        tempList.add(new SelectItem("2","Monday"));
        tempList.add(new SelectItem("3","Tuesday"));
        tempList.add(new SelectItem("4","Wednesday"));
        tempList.add(new SelectItem("5","Thursday"));
        tempList.add(new SelectItem("6","Friday"));
        tempList.add(new SelectItem("7","Saturday"));
        
        return tempList;
    }
    
    public List<SelectItem> getYesOrNo(){
        List tempList = new ArrayList();
        
        tempList.add(new SelectItem("Y","Y"));
        tempList.add(new SelectItem("N","N"));
        
        return tempList;
    }
    
}
